@import '~@/assets/css/mixins';

.task_param {
  width: 40px;
  height: 100%;
  position: relative;
  border-left: 1px solid;
  border-left-color: rgb(255 255 255 / 10%);

  .task_param_title {
    height: 47px;
    border-bottom: 1px solid;
    border-color: rgb(0 0 0 / 15%);
    font-size: 14px;
    font-weight: bold;
    color: rgb(0 0 0 / 65%);
    padding: 14px 24px;
  }

  .task_param_container {
    padding: 26px 20px;
    height: calc(100% - 48px);
    overflow-y: auto;
  }

  .task_param_nav {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgb(255 255 255 / 100%);

    .task_param_nav_item {
      display: block;
      width: 100%;
      text-align: center;
      padding: 15px;
      cursor: pointer;
      color: rgb(0 0 0 / 65%);
      font-size: 14px;
      position: relative;
    }

    .task-param-nav-item:hover {
      color: #40a2ff;
    }

    .task_param_nav_item_active {
      color: #40a2ff;

      &::after {
        position: absolute;
        top: calc(50% - 37px);
        right: 0;
        width: 3px;
        height: 74px;
        background: @primary;
        content: '';
      }
    }
  }

  .task_param_cen {
    width: 420px;
    height: 100%;
    position: absolute;
    top: 0;
    right: -420px;
    transition: 0.4s;
    transition: 0.4s;
    transition: 0.4s;
    transition: 0.4s;
    background-color: rgb(255 255 255 / 100%);
    border: 1px solid;
    border-color: rgb(0 0 0 / 15%);

    .ant-input[disabled] {
      background-color: #282830;
      color: #666;
    }

    .task_param_input {
      margin: 16px 0;
    }

    p {
      font-size: 14px;
      font-weight: bold;
      line-height: 20px;
      color: rgb(0 0 0 / 85%);
      position: relative;
      padding-left: 11px;

      &::before {
        position: absolute;
        top: 3px;
        left: 0;
        width: 4px;
        height: 16px;
        background: @primary;
        content: '';
      }
    }

    ul {
      clear: both;
      margin-bottom: 26px;

      div {
        display: inline-block;
        text-align: right;
        font-size: 12px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-weight: 400;
        color: rgb(0 0 0 / 65%);
        margin-top: 16px;
        margin-bottom: 11px;
      }

      .empty_icon {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;

        .empty_icon_img {
          width: 150px;
          height: 86px;
        }

        .none {
          width: 100%;
          text-align: center;
          font-size: 14px;
          font-weight: 400;
          color: rgb(0 0 0 / 45%);
        }
      }
    }
  }

  .task_param_cen_show {
    right: 40px;
    transition: 0.4s;
    transition: 0.4s;
    transition: 0.4s;
    transition: 0.4s;
    background-color: rgb(255 255 255 / 100%);
    z-index: 2;

  }
}
